* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f7fc;
    font-size: 16px;
    color: #333;
}

.content {
    display: flex;
    justify-content: space-between;
    margin: 20px;
}

.main {
    width: 75%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
}

.main .header {
    font-size: 24px;
    margin-bottom: 20px;
    color: #007bff;
}

/* 服务管理按钮区域 */
.servlet_on {
    display: flex;
    justify-content: flex-start; /* 按钮从左边开始排列 */
    gap: 15px;  /* 按钮之间的间距 */
    align-items: center;  /* 垂直对齐 */
 
}

/* 搜索框 */
.search {
    padding: 8px;
    width: 220px; /* 设置搜索框的宽度 */
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* 按钮样式 */
#searchbtn, .btn1, .btn2 {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 搜索按钮样式 */
#searchbtn {
    background-color: #4CAF50; /* 设置搜索按钮背景色 */
    color: white;
}

#searchbtn:hover {
    background-color: #45a049; /* 搜索按钮悬停时的颜色 */
}

/* 新增按钮样式 */
.btn1 {
    background-color: #007bff; /* 设置新增按钮背景色 */
    color: white;
}

.btn1:hover {
    background-color: #0056b3; /* 新增按钮悬停时的颜色 */
}

/* 批量删除按钮样式 */
.btn2 {
    background-color: #f44336; /* 设置批量删除按钮背景色 */
    color: white;
}

.btn2:hover {
    background-color: #d32f2f; /* 批量删除按钮悬停时的颜色 */
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f1f1f1;
    font-weight: bold;
}

.caozuo {
    color: #007bff;
    background: none;
    border: none;
    cursor: pointer;
}

.caozuo1 {
    color: #007bff;
    background: none;
    border: none;
}

.caozuo:hover, .caozuo1:hover {
    text-decoration: underline;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;
    justify-content: center;
    align-items: center;
}
.overlay form{
    position: absolute;
    top: 30%;
    left: 40%;
}
.new_add {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
}

.new_add .x:hover {
    color: #555;
}

.end {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.end input {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.end input[type="submit"]:first-child {
    background-color: #ccc;
    color: #333;
}

.end input[type="submit"]:first-child:hover {
    background-color: #999;
}

.end input[type="submit"]:last-child {
    background-color: #007bff;
    color: white;
}

.end input[type="submit"]:last-child:hover {
    background-color: #0056b3;
}
.classname{
    height: 30px;
}